package com.ruoyi.wq.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.mybatis.base.BaseEntity;

/**
 * 拼团详情对象 wq_tuan_home
 * 
 * @author ruoyi
 * @date 2023-08-28
 */
public class WqTuanHome extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.UUID)
    private String id;

    /** 拼团ID */
    @Excel(name = "拼团ID")
    private String tuanId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;
    
    private String tuanTag;

    /** 趣豆 */
    @Excel(name = "趣豆")
    private Long coin;

    /** 直接可得 */
    @Excel(name = "直接可得")
    private Integer buyCoin;

    /** 拼团成功可得 */
    @Excel(name = "拼团成功可得")
    private Integer tuanCoin;

    /** 拼团类型（0趣豆 1会员） */
    @Excel(name = "拼团类型", readConverterExp = "0=趣豆,1=会员")
    private String tuanType;

    /** 支付金额 */
    @Excel(name = "支付金额")
    private BigDecimal payPrice;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal price;

    /** 几人成团 */
    @Excel(name = "几人成团")
    private Long userNum;

    /** 付款数量 */
    @Excel(name = "付款数量")
    private Long payNum;
    
    private Long userId;
    
    private Integer tuanHour;
    
    private Date tuanTime;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTuanId(String tuanId) 
    {
        this.tuanId = tuanId;
    }

    public String getTuanId() 
    {
        return tuanId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public String getTuanTag() {
		return tuanTag;
	}

	public void setTuanTag(String tuanTag) {
		this.tuanTag = tuanTag;
	}

	public void setCoin(Long coin) 
    {
        this.coin = coin;
    }

    public Long getCoin() 
    {
        return coin;
    }
    public void setBuyCoin(Integer buyCoin) 
    {
        this.buyCoin = buyCoin;
    }

    public Integer getBuyCoin() 
    {
        return buyCoin;
    }
    public void setTuanCoin(Integer tuanCoin) 
    {
        this.tuanCoin = tuanCoin;
    }

    public Integer getTuanCoin() 
    {
        return tuanCoin;
    }
    public void setTuanType(String tuanType) 
    {
        this.tuanType = tuanType;
    }

    public String getTuanType() 
    {
        return tuanType;
    }
    public void setPayPrice(BigDecimal payPrice) 
    {
        this.payPrice = payPrice;
    }

    public BigDecimal getPayPrice() 
    {
        return payPrice;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setUserNum(Long userNum) 
    {
        this.userNum = userNum;
    }

    public Long getUserNum() 
    {
        return userNum;
    }
    public void setPayNum(Long payNum) 
    {
        this.payNum = payNum;
    }

    public Long getPayNum() 
    {
        return payNum;
    }
    public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getTuanHour() {
		return tuanHour;
	}

	public Date getTuanTime() {
		return tuanTime;
	}

	public void setTuanTime(Date tuanTime) {
		this.tuanTime = tuanTime;
	}

	public void setTuanHour(Integer tuanHour) {
		this.tuanHour = tuanHour;
	}

	public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tuanId", getTuanId())
            .append("title", getTitle())
            .append("coin", getCoin())
            .append("buyCoin", getBuyCoin())
            .append("tuanCoin", getTuanCoin())
            .append("tuanType", getTuanType())
            .append("payPrice", getPayPrice())
            .append("price", getPrice())
            .append("userNum", getUserNum())
            .append("payNum", getPayNum())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
